Skip to content

docs: close out 1.3.0 for rc.1 (ADR-0015 Amendment 2, loader rule, changelog fold) - #657

Merged
dmealing merged 9 commits into
mainfrom
fm/mo-130-release-prep
Nov 26, 2026
Merged

dmealing merged 9 commits into
mainfrom
fm/mo-130-release-prep

Conversation

@dmealing

@dmealing dmealing commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

What Changed

  • Migration ownership is per language. ADR-0015 gains Amendment 2: each language's native migration tool (EF Core Migrations, Alembic, Flyway/Liquibase, Diesel/sqlx, Drizzle Kit, or the project's own) is first-class, and the Node meta migrate / meta verify --db engine is the reference helper. ADR-0033 and ADR-0065 are edited to match, and the C# CLI description and comments now say schema migrations run in EF Core Migrations or the Node reference helper.
  • Loader rule and wording. The loader rule ("the loader refuses what is invalid for the model; a limit of one generator is that generator's error") is written into ADR-0037, GOVERNANCE.md and the contributor/agent instruction docs, with the ledger of the four known cases. Shipped agent-context skill and template text (under agent-context/ and agent-context-shipped/) is reworded: "disposable artifact" becomes "regenerated output", and the fit-assessment and authoring-skill contradictions are fixed. Shipped page files moved from server/python/src/metaobjects/agent_context/shipped/files/ to agent-context-shipped/files/.
  • Changelog for 1.3.0. The changelog.d/ fragments (33 files) are folded into the [1.3.0] section of CHANGELOG.md, and the Unreleased entries are folded in the same way. The upgrade list is audited against the fragments.

Note: docs-only in intent. It changes adopter-facing shipped text but no generator or runtime behavior.

Validation

Risk Assessment

✅ Low: The only change since the last round is a one-line C# csproj package description rewording that matches the reference-helper wording used elsewhere. The Python shipped agent-context mirror is byte-identical to the root shipped tree, and a grep found no remaining live "Node owns the schema" wording.

Testing

Two live scenarios against the real CLIs, both pass. Rust verify --db prints the helper-wording usage error and exits 2. Python verify --db prints the helper-wording rejection and exits 2. A second metadata-location error also prints there; that is existing dispatch behavior, not part of this change. Broad regression came from the configured test command scripts/ci-local.sh --affected --strict-toolchains, which passed at this commit. No source changed in this turn.

  • Live validation: ✅ go - 2 of 2 scenarios driven live against the product
Scenario Result Live Evidence
Rust CLI: verify --db shows helper-wording usage error (local cargo-meta, synthetic invocation) ✅ pass live cargo run -q --offline -- verify --db in server/rust/metaobjects-cli; exit 2 from target/debug/cargo-meta
Python CLI: verify --db rejected with helper-wording message (local metaobjects CLI, synthetic URL) ✅ pass live server/python/.venv/bin/python -c metaobjects.cli.main(['verify','--db','sqlite:///x']) prints the rejection and exits 2
Evidence: Rust verify --db live usage error
cargo meta: `cargo meta verify --db` does not exist: checking a schema against a live database is the reference migration helper's (`meta migrate`, `meta verify --db`), one option; a native tool is equally good (ADR-0015 Amendment 2).
Evidence: Python verify --db live rejection
error: verify --db is not supported in the Python port; schema verify is the reference migration helper's (`meta verify --db`, with `meta migrate`; a native tool is equally good, ADR-0015 Amendment 2).
  • Outcome: 🔧 2 issues found → auto-fixed → no changes applied ✅ across 3 runs (47m41s)

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - all findings resolved

Every review finding was fixed in the run, or recorded as informational with no action needed:

  • The fit-assessment and authoring skills now state one rule each (eject and retarget one generator; the cost test, also in Essentials), and the shipped agent-context tree and fixtures were rebuilt.
  • Every live line saying Node owns the schema now says the Node engine is the reference migration helper and a native tool is equally good, including the Rust CLI --help, init and README text that ADR-0065 describes.
  • The llms mirrors and spec/roadmap.md carry the new wording, the 1.3.0 upgrade list gained the missing break entries, and the ADR-0015, ADR-0033 and loader-ledger precision notes were applied.
  • Remaining infos need no change: sibling lines that describe the helper's emission, and a check that the fragment fold lost nothing.
✅ Test - passed
  • The Python verify --db rejection message had lost the word "migrate" that a test asserts. It was reworded to keep it, and the Rust verify --db usage error was aligned to the reference-helper wording. The suite then passed.
  • Live validation: ✅ go - metaobjects verify --db is rejected with exit 2 and points at the reference helper; verify --codegen --db is rejected and runs no codegen; gen then verify --codegen is clean and a hand edit to generated output is flagged (local Python CLI, synthetic fixtures).
✅ **Document** - passed (3 informational notes, no action needed)
  • ℹ️ Older dated specs and plans (e.g. docs/superpowers/specs/2026-06-28-codegen-scaffold-and-own-design.md) still say "disposable artifact". They are historical records; left unchanged. A follow-up could add one pointer instead of editing each.
  • ℹ️ Internal code comments and test docstrings (e.g. server/csharp/MetaObjects.Codegen.Tests/AbstractConformanceTests.cs:94, server/python/tests/codegen/test_cli.py:6) still name the TypeScript toolchain or Node meta as schema owner. They describe where the reference helper lives, not an adopter requirement. Cosmetic.
  • ℹ️ Shipped agent-context files say agent-context scaffolding is owned by the Node meta CLI. That concerns scaffolding, not migrations, so it is accurate. Revisit only if scaffolding ownership changes.
✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

Notes

  • B6: "a missing counter line is a generation error" is the C# @sequenceStart design-time services check; it already exists as ERR_DESIGN_TIME_REFERENCE_MISSING (feat(csharp): write C# generators through CsWriter; add migrate.foreignKeyTargets #620, tested in IdentityStartDialectTests.cs), so no code changed and it now has an upgrade entry.
  • Left out on purpose: a single source for version stamps (scripts/finish-release.mjs owns the prose restamp after publish), and A7 items not built on main (predicate-tree repository seam, Java mustache generator removal, Cube export package, unknown-generator-option refusal in the JVM and C# ports).
  • This PR took one no-mistakes run.

…bundle, 1.3.0 upgrade list)

- ADR-0015 Amendment 2 and the matching ADR-0033 and ADR-0065 edits: a native migration tool is first-class, the Node engine is the reference helper.
- The loader rule in GOVERNANCE.md, ADR-0037 step 3, CONTRIBUTING.md and AGENTS.md, with the ledger of four known refusals.
- Wording: the one sentence on generated code, regenerated output for disposable artifact, the fit-assessment and authoring-skill contradictions, conformance corpora are not a kit an adopter runs. Shipped agent-context goldens rebuilt.
- T1 stragglers in cli.md, migrations-and-drift.md and ports/csharp.md.
- Changelog fragments and [Unreleased] folded into [1.3.0]; upgrade list audited and extended.
…gration line fixed; remaining items are cosmetic or historical follow-ups.
@dmealing
dmealing merged commit 2747b1f into main Nov 26, 2026
11 checks passed
@dmealing
dmealing deleted the fm/mo-130-release-prep branch November 26, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant